-
Notifications
You must be signed in to change notification settings - Fork 3k
Eventqueue Templatewall Doxygen Rework #7810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eventqueue Templatewall Doxygen Rework #7810
Conversation
In the doxygen only segment define generic function declarations for the docs Finished initial rework, pending TODOs for param comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks promising.
I think it would be valuable to document the template types requirements with the tag @tparam
.
Any change we got the same update for the Event
and Callback
classes ?
@pan- I was thinking about adding the tparam blocks, can definitely put them back in. After that update if this looks good I'd like to do the same to the Callback class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 👍
The documentation looks great and I like the added examples for each function.
Copy edit file for consistent capitalization, tense and voice.
/morph build |
Build : SUCCESSBuild number : 2865 Triggering tests/morph test |
/morph mbed2-build |
Exporter Build : FAILUREBuild number : 2495 |
Test : SUCCESSBuild number : 2630 |
/morph export-build |
Exporter Build : FAILUREBuild number : 2507 |
Wow. An eclipse runtime error. /morph export-build |
Exporter Build : SUCCESSBuild number : 2508 |
Description
The doxygen for the EventQueue API (and Callback class but that's not covered in this PR) are illegible due to how the classes are implemented/doxygen-ified before. Chris and Vincent set up this solution a while back, just implementing the rest of their work: #7303
Additionally added some inline examples on how to setup/call the different overloaded methods in EventQueue. NOTE: Will squash the commit history following any feedback
Before
After
Example of expanded function doc
@geky Lot of copy and pasting, so may have borked one of the comment headers or examples in the new vararg function declarations.
@AnotherButler
Feel free to add anyone else to the review.
Pull request type